package com.info.zhiduoduo.weixin.formbean.taxer;

import java.math.BigDecimal;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Positive;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ApplyInvoiceFormBean {

	@Positive
	@ApiModelProperty("开票金额，含税")
	private BigDecimal amount;

	@ApiModelProperty("发票金额")
	private String invoiceContent;

	@ApiModelProperty("1:普票 2：专票")
	private int invoiceType;

	@ApiModelProperty("发票开票凭证")
	private String receiptImg;

	@ApiModelProperty(name = "企业ID", value = "传0则新建收藏企业")
	private int companyid;

	@NotEmpty
	@ApiModelProperty("企业名")
	private String companyName;

	@NotEmpty
	@ApiModelProperty("企业纳税人识别码")
	private String creditcode;

	@ApiModelProperty("营业执照地址(开专票时传)")
	private String companyAddr;

	@NotEmpty
	@ApiModelProperty("企业发票收件邮箱地址")
	private String email;

//	@NotEmpty
	@ApiModelProperty("企业银行")
	private String bankname;

//	@NotEmpty
	@ApiModelProperty("企业银行账号")
	private String acctno;

	@ApiModelProperty("企业电话")
	private String companyPhone;

	/**
	 * 联系人
	 */
	@ApiModelProperty("联系人")
	private String contactPerson;

	/**
	 * 联系人 电话
	 */
	@ApiModelProperty("联系人电话")
	private String contactPhone;

	//发票项目信息
	@ApiModelProperty("发票项目id")
	private int projectid;

	@ApiModelProperty("项目名")
	private String projectname;

	@ApiModelProperty("分类ID")
	private Integer categoryid;

	@ApiModelProperty("分类名")
	private String categoryname;

	@ApiModelProperty("项目周期")
	private Integer projectcycle;

	@ApiModelProperty("项目描述")
	private String projectintro;

	@ApiModelProperty("交付物路径")
	private String deliveryPath;

	@ApiModelProperty("合同路径")
	private String contactPath;

}
